package com.itheima.entity;

import com.itheima.pojo.Food;
import com.itheima.pojo.Sport;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class HealthAdvice implements Serializable {
    private int id;
    private String img;
    private String setmealName;
    private String memberName;
    private String examDate;
    private String examResult;
    private String advice;
    private List<String> medicines;
    private List<String> sports;
    private List<String> foods;

    public List<String> getMedicines() {
        ArrayList<String> list = new ArrayList<>();
        list.add("肾宝");
        list.add("枸杞");
        return list;
    }
}
